package collection.hash;

import java.util.HashMap;

public class HashMapde {

    public static void main(String[] args) throws Exception{
        HashMap<HashCodede, Integer> concurrentHashMap = new HashMap();

        for (int i = 0; i < 100; i++) {
            Integer put = concurrentHashMap.put(new HashCodede(i), i);
        }
        int size = concurrentHashMap.size();

        // 红黑树结点
        Integer treeBinHead = concurrentHashMap.get(new HashCodede(0));
        // 红黑树中间结点
        Integer treeBin = concurrentHashMap.get(new HashCodede(3));

        //树节点头节点
        Integer treeNodeHead = concurrentHashMap.get(new HashCodede(96));
        //树中间节点
        Integer treeNodeChain = concurrentHashMap.get(new HashCodede(99));


        //肯定不存在节点
        Integer nullNode = concurrentHashMap.get(new HashCodede(999999));

        System.out.printf("");
    }

}
